//
//  UILabel+ChangeLineSpaceAndWordSpace.h
//  DuoBaoKnigh
//
//  Created by aReu on 16/10/10.
//  Copyright © 2016年 aReu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel(ChangeLineSpaceAndWordSpace)
/**
 *  改变行间距
 */
+ (void)changeLineSpaceForLabel:(UILabel *)label WithSpace:(float)space;

/**
 *  改变字间距
 */
+ (void)changeWordSpaceForLabel:(UILabel *)label WithSpace:(float)space;

/**
 *  改变行间距和字间距
 */
+ (void)changeSpaceForLabel:(UILabel *)label withLineSpace:(float)lineSpace WordSpace:(float)wordSpace;

/**
 *  动态计算高度
 */
//+ (CGSize)contentNewSize:(NSAttributedString*)content width:(CGFloat)width font:(UIFont*)font;
+ (CGFloat)getHeightByWidth:(CGFloat)width title:(NSString *)title font:(UIFont *)font;

/**
 *  左上剧中
 */
- (void)textLeftTopAlign:(UIFont*)font;
@end
